package com.gzhryc.shared_device.cdcz.code.dao.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CDCZOrderDeviceLogContent {

    private List<LogItem> items;

    public CDCZOrderDeviceLogContent(){
        this.items = new ArrayList<>();
    }

    public List<LogItem> getItems() {
        return items;
    }

    public void setItems(List<LogItem> items) {
        this.items = items;
    }

    public static class LogItem {

        private Date date;
        private Double instantPower;
        private Double instantCurrent;

        public Date getDate() {
            return date;
        }

        public void setDate(Date date) {
            this.date = date;
        }

        public Double getInstantPower() {
            return instantPower;
        }

        public void setInstantPower(Double instantPower) {
            this.instantPower = instantPower;
        }

        public Double getInstantCurrent() {
            return instantCurrent;
        }

        public void setInstantCurrent(Double instantCurrent) {
            this.instantCurrent = instantCurrent;
        }
    }
}
